Skip to content

Conversation

@sol-mocha
Copy link

@sol-mocha sol-mocha commented Mar 4, 2024

Miscellaneous updates:

  • removes marinade bloat and adds bn.js as a dep directly
  • adds deps referenced in code but not in package.json
  • git ignores some un-wanted .yarn/ files/folders.

@sol-mocha sol-mocha changed the title chore: ignore .yarn/ files Miscellaneous updates Mar 4, 2024
branding:
icon: "upload"
color: "black"
color: "gray-dark"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently black is not a valid value.
https://json.schemastore.org/github-action.json

{
"name": "squads-v4-program-upgrade",
"main": "lib/main.js",
"private": false,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value is false.

"dependencies": {
"@actions/core": "^1.10.1",
"@marinade.finance/marinade-ts-sdk": "^5.0.6",
"@coral-xyz/anchor": "^0.29.0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was referenced in utils but not added as a dep.

"@coral-xyz/anchor": "^0.29.0",
"@solana/web3.js": "^1.78.4",
"@sqds/multisig": "^1.9.0",
"bn.js": "^5.2.1",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to add all the bloat of @marinade.finance/marinade-ts-sdk just for bn.js.

@sol-mocha sol-mocha marked this pull request as ready for review March 4, 2024 21:57
@sol-mocha sol-mocha marked this pull request as draft March 4, 2024 22:05
@sol-mocha sol-mocha marked this pull request as ready for review March 4, 2024 22:10
@valentinmadrid
Copy link
Contributor

@sol-mocha Have you been able to build this ? (yarn build)

@sol-mocha
Copy link
Author

@sol-mocha Have you been able to build this ? (yarn build)

Seems to build just fine, or is another output expected?

image

@sol-mocha
Copy link
Author

@sol-mocha Have you been able to build this ? (yarn build)

Seems to build just fine, or is another output expected?

image

Hey @valentinmadrid curious on your thoughts for this PR. Any requested changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants